package server

import (
	"fmt"
	"tcpChat/ziface"
)

type NoticeRouter struct {

}

func (r *NoticeRouter) PreHandle(request ziface.IRequest) {
	fmt.Printf(fmt.Sprintf("NoticeRouter MSG ID =%d \n", request.GetMsgId()))
}

func (r *NoticeRouter) Handle(request ziface.IRequest) {
	fmt.Printf(fmt.Sprintf("NoticeRouter DATA =%s \n", string(request.GetData())))
}

func (r *NoticeRouter) PostHandel(request ziface.IRequest) {
	fmt.Printf("NoticeRouter END ........... \n")
}